50704e
@@ -53,7 +53,7 @@
public void Authenticate(String user, String password) throws AuthenticationExce
       user  = user + "@" + ldapDomain;
     }
 
-    if (password == null || password.isEmpty()) {
+    if (password == null || password.isEmpty() || password.getBytes()[0] == 0) {
       throw new AuthenticationException("Error validating LDAP user:" +
           " a null or blank password has been provided");
     }
